package com.cyl;

import static org.junit.Assert.*;

import org.junit.Test;

import com.cyl.AddressBook;
import com.cyl.Person;

public class TestAddPerson {

	@Test
	public void test() {
		AddressBook book=new AddressBook();
		Person p=new Person("cyl","12345678912","shandong");
		book.add(p);
		AddressBook boo=new AddressBook();
		boo.addPerson(p);
		assertEquals(book,boo); 
	}

}
